@import './style/normalize';
@import './style/css-varilable';
@import './style/animation';
@import './style/publicComp';

* {
  margin: 0;
  padding: 0;
}

.page-container {

  .van-index-anchor {
    display: none !important;
  }

  .van-index-bar__sidebar {
    top: 41%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: #ffffff5e;
    align-items: center;
    right: 0%;
    width: 58px;
    height: 36%;

    .van-index-bar__index {
      font-size: 12px;
    }
  }


  .van-collapse-item {
    margin-bottom: 10px;
  }

  .van-cell-group--inset {
    margin: 0;
  }

  .van-cell--clickable,
  .van-collapse-item__content {
    padding: 6px;
  }

  .van-cell {
    padding: 4px 4px;
  }

  .van-collapse-item__wrapper {
    .van-collapse-item__content {
      padding: 0;
    }
  }

  .van-cell--clickable {
    padding-bottom: 0 !important;
  }

  .van-field__label {
    width: 104px;
  }

  .card-header-title {
    padding: 6px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #cccccc61;
  }

  .van-field--disabled .van-field__label {
    color: #9E9E9E;
  }

  .col-css-set-box {
    display: flex;
    flex-wrap: wrap;
  }
}

// 栅格配置
@media (max-width: 576px) {
  .col-css-set {
    width: 100%;
  }

  .col-css-set-card {
    width: 50%;
  }
}


/* 针对大多数平板的样式 */
@media only screen and (min-width: 600px) and (max-width: 800px) {

  /* 竖屏时的样式 */
  .col-css-set {
    width: 33.33333333%;
  }

  .page-container .van-field__label {
    width: 2rem !important;
    margin-right: 5px !important;
  }

  .w6 {
    width: 33.3%;
  }
}

@media only screen and (min-width: 800px) and (max-width: 1200px) {

  /* 横屏时的样式 */
  .col-css-set {
    width: 25%;
  }

  .w6 {
    width: 25%;
  }

  .page-container .van-field__label {
    width: 2rem !important;
    margin-right: 5px !important;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 2000px) {

  /* 横屏时的样式 */
  .col-css-set {
    width: 20% !important;
  }

  .w6 {
    width: 20% !important;
  }

  .w8 {
    width: 33.33333333%;
  }

  .w12 {
    width: 25% !important;
  }

  .w24 {
    width: 50% !important;
  }

  .page-container .van-field__label {
    width: 2rem !important;
    margin-right: 5px !important;
  }
}

.w24 {
  width: 100%;
}

.w12 {
  width: 50%;
}

.w8 {
  width: 33.33333333%;
}

.card-container {
  border: 1px solid #cccccc61;
  border-radius: 12px;
  margin: 6px;
}

.card-item-title {
  padding: 0 0.16rem;
  font-size: 13px;
  color: #333;
  font-weight: bold;
  // border-bottom: 1px solid #cccccc61;
}

.van-collapse-item__title {
  .van-cell__title {
    font-weight: bold;
  }
}




.list-box {
  padding: 0 0 80px 0;

  .list-item {
    position: relative;
    background: white;
    color: var(--van-blue);
    padding: 8px;
    border-radius: 8px;
    margin: 10px;
    box-shadow: 0px 0px 21px 16px #9e9e9e26;
  }
}

.list-item-title {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
}

.list-item-content {
  display: flex;
}

.list-item-content-lv {
  font-size: 13px;
  color: #333;
  margin-top: 6px;

  &-left {
    width: 36%;
  }

  &-mid {
    width: 30%;
  }

  &-right {
    margin-left: auto;
    width: 38%;
  }

  span {
    display: block;
    margin-bottom: 6px;

    &:last-child {
      margin: 0;
    }
  }
}

.list-item-btn {
  text-align: right;
  margin-top: 10px;

  span {
    display: inline-block;
    padding: 4px 15px;
    background: var(--van-blue);
    border-radius: 12px;
    color: white;

    &~span {
      margin-left: 6px;
    }
  }

  .btn-delete {
    background-color: red;
  }
}

.van-form-btn-box {
  margin: 16px;
  display: flex;
  justify-content: space-around;

  .btn-close,
  .btn-search {
    border: 1px solid #ccc;
    flex: 1;
    padding: 5px;
    text-align: center;
    border-radius: 11px;
  }

  .btn-close {
    margin-right: 6px;
  }

  .btn-search {
    border-color: var(--van-blue);
    background: var(--van-blue);
    color: white;
  }
}

.ACC,
.REJ {
  background: #1989fa85;
  color: white;
  padding: 3px 6px;
  border-radius: 7px;
}

.REJ {
  background: #ff000073;
}

.reject-remark {
  background: #ebb1b18c;
  padding: 10px;
  text-align: center;
  color: red;
}

.van-checkbox--horizontal {
  margin-bottom: 10px;
}

/* 主表格样式设置 */
table {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* 为表格添加轻微的阴影，增强视觉深度感 */
  border-collapse: collapse;
  /* 边框合并，移除单元格之间的间隔 */
  font-family: "宋体";
  /* 指定表格字体为宋体，适合中文显示 */
  font-size: 14px;
  /* 设置字体大小为30px，确保文本清晰可读 */
}

/* 设置表头和单元格的公共样式 */
tr,
td {
  border: 0.02667rem solid #9e9e9e3d;
  text-align: center;
  padding: 6px;
}

/* 特定样式用于表头 */
tr {
  border-color: #0056b3;
  /* 表头边框颜色为深蓝色，强化视觉层次感 */
}

.van-picker__toolbar {
  .van-field__control {
    border: 1px solid #9e9e9e94;
    border-radius: 12px;
    text-indent: 1em;
  }
}

.van-loading--vertical {
  padding-top: 10px;
}

.van-field__control {
  border-bottom: 1px solid #cdcddc;
}